/*

  A model loader. Takes a file describing a mesh
  and turns it into a renderable object for a 
  game.

  @author Richard Kelley, Liesl Wigand

*/

#ifndef LOADER_H
#define LOADER_H

#include <string>
#include <stdlib.h>
#include <QString>

#include "mesh.h"

namespace blackjack {

  class MeshLoader {
  public:
    MeshLoader();
    
    /*
      Load a mesh from the obj file named in the second
      argument.
     */
    bool loadFromFile(Mesh *target, std::string fileName);

  };

}

#endif // LOADER_H
